a=30
def func():
    global a 
    a = 40
    b=20
    print(a)
    print(b)
func()
print(a)
def func1():
    a=50
    b=60
    print(a)
    print(b)
func1()
print(a)